package com.lyj.cloud.dto;

import java.io.Serializable;

/**
 * 继承BaseIdEntity传入主键类型为String
 * 	如果主键类型不是默认String类型，请自行继承上一层Base
 * @author sunshine
 *
 */
public abstract class BaseIdentity implements Serializable {

	/**
	 * 此类用于实现本项目Id生成策略
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 主键
	 */
	protected String id;
	
	protected String description;

	public BaseIdentity() {
		super();
	}

	public String getId() {
		return this.id;
	}
	
	public void setId(String id) {
		this.id = id ;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
	
}
